#! /bin/bash
# Predict FactCC model

# UPDATE PATHS BEFORE RUNNING SCRIPT
export CODE_PATH= # absolute path to modeling directory
export DATA_PATH= # absolute path to data directory
export CKPT_PATH= # absolute path to model checkpoint

export TASK_NAME=factcc_annotated
export MODEL_NAME=bert-base-uncased

python3 /content/factCC/modeling//run.py \
  --task_name $TASK_NAME \
  --do_predict \
  --eval_all_checkpoints \
  --do_lower_case \
  --overwrite_cache \
  --max_seq_length 512 \
  --per_gpu_train_batch_size 12 \
  --model_type bert \
  --model_name_or_path $MODEL_NAME \
  --data_dir /content \
  --output_dir /content/factcc-checkpoint/
